// pages/home/home.js
Page({

    /**
     * 页面的初始数据
     */
    data: {
        cardCur: 0,
        swiperList: [{
          id: 0,
          type: 'image',
          url: 'https://ts1.cn.mm.bing.net/th/id/R-C.f3dfc6d7448858cdd1b973c1d47c4f41?rik=PsjZG2YhHfvWsg&riu=http%3a%2f%2fms.2500sz.com%2fuploadfiles%2f202011%2f13%2f2020111309591797321020.jpg&ehk=LdjWxKST8CJBnbOJiY0V8xHpXpEzRMFk75uh4jxmSlo%3d&risl=&pid=ImgRaw&r=0'
        }, {
          id: 1,
            type: 'image',
            url: 'https://img.zcool.cn/community/0169bd5bcd9a27a8012099c8705150.png@1280w_1l_2o_100sh.png',
        }, {
          id: 2,
          type: 'image',
          url: 'https://img.zcool.cn/community/0195825d01c236a801205e4bd08d22.jpg@3000w_1l_0o_100sh.jpg'
        }, {
          id: 3,
          type: 'image',
          url: 'https://ts1.cn.mm.bing.net/th/id/R-C.11bb9b4d2e99faee0e1e574a7272439c?rik=0Bxm50mdUEr2iQ&riu=http%3a%2f%2fimg1.selfimg.com.cn%2fGQgalleryNoWatermark%2f2015%2f03%2f29%2f1427606695_nPA3vc.jpg&ehk=lBgKK2ey9BCEVJ7rT0fVtwmPe2v0rz8f%2biJjaSkkvpM%3d&risl=&pid=ImgRaw&r=0'
        }, {
          id: 4,
          type: 'image',
          url: 'https://img.zcool.cn/community/01c63b5dc29d5ea801209e1f2896cd.jpg@1280w_1l_2o_100sh.jpg'
        }, {
          id: 5,
          type: 'image',
          url: 'https://img.zcool.cn/community/01a45e5ddcd75fa8012129e2428908.jpg@1280w_1l_2o_100sh.jpg'
        }, {
          id: 6,
          type: 'image',
          url: 'https://img.zcool.cn/community/0170925ddcd76da8012053c0dad638.jpg@1280w_1l_2o_100sh.jpg'
        }],
    },

    Nav_social:function(){
      wx.navigateTo({
        url: '/pages/social/social',
      })
    },
    Nav_expert:function(){
      wx.navigateTo({
        url: '/pages/inquire/inquire',
      })
    },
    Nav_edit:function(){
      wx.navigateTo({
        url: '/pages/upload/upload',
      })
    },
    Nav_geo:function(){
      wx.navigateTo({
        url: '/pages/geo/geo',
      })
    },


    /**
     * 生命周期函数--监听页面加载
     */
    onLoad: function (options) {

    },

    /**
     * 生命周期函数--监听页面初次渲染完成
     */
    onReady: function () {

    },

    /**
     * 生命周期函数--监听页面显示
     */
    onShow: function () {

    },

    /**
     * 生命周期函数--监听页面隐藏
     */
    onHide: function () {

    },

    /**
     * 生命周期函数--监听页面卸载
     */
    onUnload: function () {

    },

    /**
     * 页面相关事件处理函数--监听用户下拉动作
     */
    onPullDownRefresh: function () {

    },

    /**
     * 页面上拉触底事件的处理函数
     */
    onReachBottom: function () {

    },

    /**
     * 用户点击右上角分享
     */
    onShareAppMessage: function () {

    }
})